package com.zj.guava.eventbus;

import com.google.common.eventbus.DeadEvent;
import com.google.common.eventbus.Subscribe;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class DeadEventListener {
    private static final Logger logger = LoggerFactory.getLogger(DeadEventListener.class);

    @Subscribe
    public void doEvent(DeadEvent event) {
        logger.info(event.getSource().toString());
        logger.info(event.getEvent().toString());
    }
}
